package com.monbo.proj.lifangcrm.service;

import java.io.IOException;
import java.io.InputStream;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * MinIO服务
 *
 * @author lirui
 * @date 2025/09/22
 */
public interface MinIOService {
    /**
     * 推动开源软件
     *
     * @param inputStream 输入流
     * @param url         url
     * @return {@link String }
     * @throws IOException              ioexception
     * @throws NoSuchAlgorithmException 没有这样算法例外
     * @throws InvalidKeyException      无效密钥异常
     */
    String pushOss(InputStream inputStream, String url) throws IOException, NoSuchAlgorithmException, InvalidKeyException;
}
